package org.hcyspartnoc.demo.mapper.system;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.hcyspartnoc.demo.pojo.po.system.SysRolePermissionPo;

@Mapper
public interface SysRolePermissionMapper extends MPJBaseMapper<SysRolePermissionPo> {


    @Insert("insert into sys_role_permission (role_id, permission_id) VALUES (#{roleid},#{permission})")
    void insertinto(Integer roleid, Integer permission);
}
